package com.laotou99.wmsjjj.wmsjjj.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;

import com.laotou99.wmsjjj.wmsjjj.bean.po.ASNDetailPO;

public interface ASNDetailPORepository 
extends JpaRepository<ASNDetailPO, Long> 
{

	
	public List<ASNDetailPO> findById(long id);
	
	@Query("SELECT a FROM ASNDetailPO a WHERE a.id = ?1")
	public List<ASNDetailPO> findById2(long id);
	
}
